ArcGIS Runtime SDK for WPF - Library Reference
HitTestAsync(Rect,Int32,Action<IList<S57FeatureObject>>) Method
See Also 
ESRI.ArcGIS.Client.AdvancedSymbology Namespace > HydrographicS57Layer Class > HitTestAsync Method : HitTestAsync(Rect,Int32,Action<IList<S57FeatureObject>>) Method

screenRect
A System.Windows.Rect in screen coordinates within the current Map Control on-screen extent.
maxHits
The maximum number of hits (S57FeatureObjects) to return.
resultCallback
A callback when the HitTest has completed.
Asynchronously performs a HitTest operation based on the specified rectangle within the map. Results are returned as a collection of S57FeatureObjects.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub HitTestAsync( _
   ByVal screenRect As Rect, _
   ByVal maxHits As Integer, _
   ByVal resultCallback As Action(Of IList(Of S57FeatureObject)) _
) 
C# 
public void HitTestAsync( 
   Rect screenRect,
   int maxHits,
   Action<IList<S57FeatureObject>> resultCallback
)

Parameters

screenRect
A System.Windows.Rect in screen coordinates within the current Map Control on-screen extent.
maxHits
The maximum number of hits (S57FeatureObjects) to return.
resultCallback
A callback when the HitTest has completed.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8

See Also

© ESRI, Inc. All Rights Reserved.